package com.xiaohe66.web.application.love.bo;

import com.xiaohe66.common.validator.annotation.Max;
import com.xiaohe66.common.validator.annotation.Min;
import com.xiaohe66.common.validator.annotation.NotNull;
import lombok.Data;

import java.time.LocalDate;

/**
 * @author xiaohe
 * @since 2022.03.29 18:23
 */
@Data
public class WishSaveBo {

    private Long id;

    @Min(1)
    @Max(3000)
    private String title;

    @Max(3000)
    private String desc;

    @NotNull
    private Boolean finished;

    private LocalDate finishDate;

    @Max(3000)
    private String remark;

}
